package com.zsx.shopping.product.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 分类品牌关联
 * @TableName pms_category_brand
 */
@TableName(value ="pms_category_brand")
@Data
public class CategoryBrand implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 分类ID
     */
    private Long catId;

    /**
     * 品牌ID
     */
    private Long brandId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}